package com.flyco.modules.ums.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 会员等级表
 * @Author: flyco
 * @Date:   2022-09-29
 * @Version: V1.0
 */
@Data
@TableName("ums_member_level")
@ApiModel(value="ums_member_level对象", description="会员等级表")
public class UmsMemberLevel implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	@JsonSerialize(using= ToStringSerializer.class)
	private Long id;
	/**会员等级*/
    @ApiModelProperty(value = "会员等级")
	private Integer level;
	/**等级名称*/
    @ApiModelProperty(value = "等级名称")
	private String name;
	/**需要成长值*/
    @ApiModelProperty(value = "需要成长值")
	private Integer minGrowth;
	/**是否为默认等级：0->不是；1->是*/
    @ApiModelProperty(value = "是否为默认等级：0->不是；1->是")
	private Integer defaultStatus;
	/**积分倍数*/
    @ApiModelProperty(value = "积分倍数")
	private java.math.BigDecimal integralPoint;
	/**升级礼包*/
    @ApiModelProperty(value = "升级礼包")
	private String upgradeGift;
	/**生日礼包*/
    @ApiModelProperty(value = "生日礼包")
	private String birthdayGift;
	/**背景图片*/
    @ApiModelProperty(value = "背景图片")
	private String bgImg;
	/**会员角标*/
	@ApiModelProperty(value = "会员角标")
	private String icon;
	/**卡片背景*/
	@ApiModelProperty(value = "卡片背景")
	private String cardImg;
	/**等级标签*/
	@ApiModelProperty(value = "等级标签")
	private String tagImg;
	/**备注*/
    @ApiModelProperty(value = "备注")
	private String note;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
	private Date updateTime;
}
